EndClone
TheEndClone
method commits the specified cloning transaction.
void EndClone (in ODDraftKey key);
key
- The draft key for the cloning transaction to be committed.
DISCUSSION
You must call this method to end a successful cloning transaction. Thekey
parameter must be set to the draft key returned by the call to theBeginClone
method that started the cloning transaction.If the cloning transaction cannot be completed for any reason, you should call the
AbortClone
method instead of this method.After this method executes successfully, the destination draft of this cloning transaction contains copies of all the persistent objects and storage units whose
CloneInto
methods were called by this draft'sClone
method during the transaction.EXCEPTIONS
kODErrInvalidDraftKey
- The specified draft key is not the draft key for the current cloning transaction.
kODErrMoveIntoSelf
- This clone transaction attempted to move a part into one of its embedded frames or embed one of the part's display frames into another of its display frames.
SEE ALSO
TheODDraftKey
type (page 902).
TheODDraft::AbortClone
method (page 151).
TheODDraft::BeginClone
method (page 159).
TheODDraft::Clone
method (page 162).
"EndClone" on page 325 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help